/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Collections;

namespace SES.CMS.DO
{
   [Serializable ]
   public class sysdiagramsDO
    {

        /// <summary>
        /// Summary description for sysdiagramsDO
        /// </summary>
		
		
		#region Public Constants (Fields name)
					public const string NAME_FIELD ="name";
		public const string PRINCIPAL_ID_FIELD ="principal_id";
		public const string DIAGRAM_ID_FIELD ="diagram_id";
		public const string VERSION_FIELD ="version";
		public const string DEFINITION_FIELD ="definition";

		#endregion
		
		#region Private Variables
					private String _name;
		private Int32 _principal_id;
		private Int32 _diagram_id;
		private Int32 _version;
		private byte[] _definition;

		#endregion

		#region Public Properties
					public String name
		{
			get
			{
				return _name;
			}
			set
			{
				_name = value;
			}
		}
		public Int32 principal_id
		{
			get
			{
				return _principal_id;
			}
			set
			{
				_principal_id = value;
			}
		}
		public Int32 diagram_id
		{
			get
			{
				return _diagram_id;
			}
			set
			{
				_diagram_id = value;
			}
		}
		public Int32 version
		{
			get
			{
				return _version;
			}
			set
			{
				_version = value;
			}
		}
		public byte[] definition
		{
			get
			{
				return _definition;
			}
			set
			{
				_definition = value;
			}
		}

        #endregion

	}
}
